package com.cls.business.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.sun.org.apache.xpath.internal.operations.Bool;
import lombok.Data;
import com.cls.common.entity.BaseEntity;

import java.io.Serializable;

/**
 * 课题计划表 Entity
 *
 * @author wmm
 * @date 2020-11-11 15:54:16
 */
@Data
@TableName("biz_topic_plan")
public class TopicPlan extends BaseEntity implements Serializable {


    /**
     *
     */
    @TableId(value = "plan_id", type = IdType.AUTO)
    private Long planId;

    /**
     * 是否生成了编码
     */
    @TableField("is_generate_code")
    private Boolean isGenerateCode;

    /**
     * 征集通知公告id
     */
    @TableField("select_notice_id")
    private Long selectNoticeId;

    @TableField(value = "conclude_finish_notice_id")
    private Long concludeFinishNoticeId;

    @TableField(value = "conclude_notice_id")
    private Long concludeNoticeId;

    /**
     * 年份
     */
    @TableField("year")
    private String year;


    /**
     * 课题状态
     */
    @TableField("status_code")
    private String statusCode;


    /**
     * 征集开始时间
     */
    @TableField(value="select_begin_time",updateStrategy = FieldStrategy.IGNORED)
    private Date selectBeginTime;


    /**
     * 征集结束时间
     */
    @TableField(value = "select_end_time",updateStrategy = FieldStrategy.IGNORED)
    private Date selectEndTime;


    /**
     * 提交开始时间
     */
    @TableField(value = "submit_begin_time",updateStrategy = FieldStrategy.IGNORED)
    private Date submitBeginTime;


    /**
     * 意向表提交结束时间
     */
    @TableField(value = "intention_submit_end_time",updateStrategy = FieldStrategy.IGNORED)
    private Date intentionSubmitEndTime;


    /**
     * 申请表提交结束时间
     */
    @TableField(value = "apply_submit_end_time",updateStrategy = FieldStrategy.IGNORED)
    private Date applySubmitEndTime;


    /**
     * 拟立项结束时间
     */
    @TableField("pre_item_end_time")
    private Date preItemEndTime;


    /**
     * 拟立项开始时间
     */
    @TableField("pre_item_begin_time")
    private Date preItemBeginTime;


    /**
     * 申请通知公告id
     */
    @TableField("apply_notice_id")
    private Long applyNoticeId;

    /**
     * 拟立项通知公告id
     */
    @TableField("pre_item_notice_id")
    private Long preItemNoticeId;

    /**
     * 类型：委托  年度
     */
    @TableField("topic_classify_code")
    private String topicClassifyCode;


    /**
     * 评审标准id
     */
    @TableField("standard_id")
    private Long standardId;

    /**
     * 全局配置快照id
     */
    @TableField("configure_id")
    private Long configureId;

    @TableField(exist = false)
    private String planNo;
    /**
     * 期次 格式 2020-001
     */
    @TableField("period")
    private String period;

    @TableField("item_notice_id")
    private Long itemNoticeId;

}
